package com.example.zhunongzonghe.beans;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="ZnOrderDetails对象", description="")
public class ZnOrderDetailsBean implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 订单详情表
     */
    private Integer detailsId;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 商品id
     */
    private Integer farmId;
    /**
     * 地址id
     */
    private Integer addressId;
    /**
     * 规格id
     */
    private Integer specId;
    /**
     * 总价格
     */
    private BigDecimal totalPrice;
    /**
     * 商品单价
     */
    private BigDecimal unitPrice;
    /**
     * 商品数量
     */
    private Integer count;

    /**
     * 评价状态,为1时可修改而不可新增
     */
    private Integer evaStatus;

    /**
     * 对应的评价id
     */
    private Integer evaluateId;

    /**
     * 产品图片
     */
    private String shopPicture;
    /**
     * 产品名
     */
    private String farmName;
    /**
     * 产品简介
     */
    private String farmIntro;
    private String addressDelivery;
    private String consignee;
    private String phone;
    private ZnFarmSpecificationBean specificationBean;
    private ZnFarmEvaluateBean evaluateBean;
}
